package edu.mis.core.conf;

import com.jfinal.config.Routes;



import edu.mis.modules.role.RoleController;
import edu.mis.modules.role.RoleInterceptor;
import edu.mis.modules.room.RoomController;
import edu.mis.modules.roomStatus.RoomStatusController;
import edu.mis.modules.roomType.RoomTypeController;
//import edu.mis.modules.user.UserController;
import edu.mis.modules.customer.CustomerController;

/**
 * 后台路由
 *
 */
public class AdminRoutes extends Routes{

	@Override
	public void config() {
		addInterceptor(new RoleInterceptor());
		add("/role", RoleController.class,"/admin/role");
        add("/room", RoomController.class,"/admin/room");
        add("/roomType", RoomTypeController.class,"/admin/roomType");
    add("/roomStatus", RoomStatusController.class,"/admin/roomStatus");
}



}
